DeleteMovieSegment
TheDeleteMovieSegment
function removes a specified segment from a movie. You identify the segment to remove by specifying its starting time and duration.
pascal OSErr DeleteMovieSegment (Movie theMovie, TimeValue in, TimeValue duration);
theMovie
- Specifies the movie for this operation. Your application obtains this movie identifier from such functions as
NewMovie
,NewMovieFromFile
, andNewMovieFromHandle
(described on page 2-80, page 2-76, and page 2-78, respectively).in
- Contains a time value specifying the starting point of the segment
to be deleted.duration
- Contains a time value that specifies the duration of the segment
to be deleted.ERROR CODES
invalidMovie -2010 This movie is corrupted or invalid invalidDuration -2014 This duration value is invalid invalidTime -2015 This time value is invalid